<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FrmListaSolicitud.aspx.vb" Inherits="TGB.FrmListaSolicitud" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Lista de Solicitudes Pendientes</title>
</head>
<body>
    <form id="form1" runat="server" >
    <div>
    
        <table style="width :800px ; height:500px; background-image: url(imagenes/bg.jpg); background-repeat: repeat-x; border-collapse: separate;"; align ="center" >
            <tr>
                <td style="background-repeat: repeat-x; height: 10px; width: 793px;" align="center" valign="middle" colspan="3">
                    <img src="../imagenes/EitiSoft.jpg" style="width: 234px; height: 46px" /></td>
            </tr>
            <tr>
                <td align="center" colspan="3" style="background-repeat: repeat-x; height: 10px; width: 793px;"
                    valign="middle">
                    <asp:Label ID="Label1" runat="server" Style="font-weight: bold; font-size: 16px;
                        font-family: calibri" Text="Solicitud de Servicios Pendientes" Width="306px"></asp:Label></td>
            </tr>
            <tr>
                <td align="left" colspan="4" style="background-repeat: repeat-x; height: 10px" valign="top">
                    <asp:Label ID="LblCliente" runat="server" Text="Cliente:"></asp:Label>
                    <asp:DropDownList ID="CboClientes" runat="server" Width="336px" AutoPostBack="True" AppendDataBoundItems="True">
                        <asp:ListItem></asp:ListItem>
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RQCliente" runat="server" BorderStyle="None" ControlToValidate="CboClientes"
                        ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
            </tr>
            <tr>
                <td style="height: 160px; width: 793px;" align="center" valign="top" colspan="3">
                
                    <asp:GridView ID="GVSolicitud" runat="server" AutoGenerateColumns="False" CellPadding="4"
                        ForeColor="Black" GridLines="Horizontal" Height="48px" PageSize="8" Width="100%" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" AllowPaging="True" CellSpacing="1">
                        <FooterStyle BackColor="#CCCC99" ForeColor="Black" Font-Names="Calibri" Font-Size="12px" />
                        <Columns>
                            <asp:TemplateField ShowHeader="False">
                                <ItemTemplate>
                                    <asp:LinkButton ID="LnkVer" runat="server" CausesValidation="False"
                                        Text="Seleccionar"></asp:LinkButton>
                                    <asp:HiddenField ID="HFCodigoSolicitud" runat="server" Value='<%# bind("CodigoSolicitudServicios") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Numero">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="lblCodigoSolicitud" runat="server" Text='<%# bind("CodigoSolicitudServicios") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="FechaSolicitud">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("FechaSolicitud") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblFechaSolicitud" runat="server" Text='<%# Bind("FechaSolicitud","{0:d}") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="FechaRealicacion">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("FechaRealicacion") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblFechaRealizacion" runat="server" Text='<%# Bind("FechaRealizacion","{0:d}") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Descripcion">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Descripcion") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblDescripcion" runat="server" Text='<%# Bind("Descripcion") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Estado">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("EstadoSolicitud") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblEstadoSolicitud" runat="server" Text='<%# Bind("EstadoSolicitud") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Tipo unidad">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox6" runat="server" Text='<%# Bind("CodigoTUnidad") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="LblCodigoTUnidad" runat="server" Text='<%# Bind("TipoUnidad") %>'></asp:Label>
                                    <asp:HiddenField ID="HFCodigoTunidad" runat="server" Value='<%# Bind("CodigoTUnidad") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Cliente">
                                <EditItemTemplate>
                                    <asp:TextBox ID="TextBox4" runat="server" Text='<%# Bind("CodigoCliente") %>'></asp:TextBox>
                                </EditItemTemplate>
                                <ItemTemplate>
                                    <asp:Label ID="lblRazonSocial" runat="server" Text='<%# Bind("cliente") %>'></asp:Label>
                                    <asp:HiddenField ID="HFCodigoCliente" runat="server" Value='<%# bind("CodigoCliente") %>' />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle Font-Names="Calibri" Font-Size="12px" />
                        <SelectedRowStyle BackColor="#CC3333" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
                        <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" Font-Names="Calibri" Font-Size="12px" />
                        <EditRowStyle Font-Overline="True" />
                        <EmptyDataTemplate>
                            <asp:Label ID="Label2" runat="server" BackColor="White" BorderColor="White" Font-Bold="True"
                                ForeColor="Red" Text="No exiten Registros Relacionados" Width="228px"></asp:Label>
                        </EmptyDataTemplate>
                    </asp:GridView>
                    
                    </td>
            </tr>
            <tr>
                <td align="center" valign="middle" colspan="3" style="width: 793px">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" colspan="3" valign="middle" style="height: 10px; background-repeat: repeat-x; background-image: url(imagenes/bg.jpg); width: 793px;">
                
                    <%--<a href="tgb.master" onclick="return GB_showCenter('Google', this.href)">Ingresar al Sistema</a>--%>
                  </td>
    </tr>
        </table>



    </div>
    </form>
        <%--<a href="tgb.master" onclick="return GB_showCenter('Google', this.href)">Ingresar al Sistema</a>--%>

</body>
</html>
